<?php

namespace App\Http\Controllers\Client\Member;

use App\Http\Controllers\RootController as Controller;
use Illuminate\Http\Request;

class LogoutController extends Controller
{
    public function handle(Request $request)
    {
        $request->user()->token()->revoke();

        return $this->success('退出登录成功！');
    }
}
